package com.itheima.练习.test4;

import java.util.UUID;

public class UUIDTest {//只需要改服务端
    public static void main(String[] args) {
        System.out.println(UUID.randomUUID());
        String str=UUID.randomUUID().toString().replace("-","");
        //把横杠去了
        System.out.println(str);
    }
}
